]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Fix enumeration in HACKING.md
authorSergio Costas <raster@rastersoft.com>
Sun, 14 Oct 2018 12:05:04 +0000 (14:05 +0200)
committerSergio Costas <raster@rastersoft.com>
Sun, 14 Oct 2018 12:05:04 +0000 (14:05 +0200)
The HACKING.md file contains an enumeration in the Indentation and
whitespace section, but the sentences look incorrectly divided.

This patch proposes a fix for that section, reordering all its
contents in a single enumeration, instead of a paragraph and
an enumeration, and also reconstruct the sentences.

HACKING.md

index 8c064999a387e3f3be0089b210c04e3e18c42dfa..0b86763da8c4be3bed4c90d8a3f3a638c6ce1a16 100644 (file)
@@ -10,15 +10,15 @@ Life isn't fun if you can't break the rules. If a rule seems unnecessarily
 restrictive while you're coding, ignore it, and let the patch reviewer decide
 what to do.
 
-## Indentation and whitespace
+## Indentation, braces and whitespace
 
-Use four-space indents. Braces are on the same line as their associated
-statements.  You should only omit braces if *both* sides of the statement are
-on one line.
+* Use four-space indents.
+* Braces are on the same line as their associated statements.
+* You should only omit braces if *both* sides of the statement are on one line.
+* One space after the `function` keyword.
+* No space between the function name in a declaration or a call.
+* One space before the parens in the `if` statements, or `while`, or `for` loops.
 
-* One space after the `function` keyword.  No space between the function name
-* in a declaration or a call.  One space before the parens in the `if`
-* statements, or `while`, or `for` loops.
 ```javascript
     function foo(a, b) {
         let bar;